import { install } from '../helpers';
import Clock from './Clock.vue';

// 组件列表
const TuiTimerComponents = {
  'tui-clock': Clock
};

// 安装函数
const timerInstall = (app: any) => {
  install(app, TuiTimerComponents);
};

// 导出组件和安装函数
export { Clock, timerInstall, TuiTimerComponents };

// 导出类型
export type { TuiClockProps } from './types';

export default {
  timerInstall,
  ...TuiTimerComponents
};